import request from '@/utils/request'
let serviceName="/goods-service"
export function getGoods(id){
    return request({url: serviceName + "/goods/getByType", method: "post",params:{"typeId":id}});
}
export function getById(id){
    return request({url: serviceName + "/goods/getById", method: "post",params:{"id":id}});
}